/**
 * 
 */
package it.unical.canonaco.rende.igpe.game.cbv.logiclayer.engine.netgame;

import java.net.Socket;

/**
 * @author Massimo Canonaco
 *
 */
public class WaitingPlayerInformationBean 
{
	/** */
	private int key;
	
	/** */
	private Socket connectionSocket;
	
	/** */
	private String arenaName;
	
	/** */
	private String value;
	
	/** */
	private boolean beServer;
	
	public WaitingPlayerInformationBean(int key, Socket socket)
	{
		connectionSocket = socket;
		this.key = key;
//		this.value = value;
	}

	/**
	 * @return the connectionSocket
	 */
	public Socket getConnectionSocket() {
//		connectionSocket.getr
		return connectionSocket;
	}

	/**
	 * @param connectionSocket the connectionSocket to set
	 */
	public void setConnectionSocket(Socket connectionSocket) 
	{
		this.connectionSocket = connectionSocket;
	}

	/**
	 * @return the kEY
	 */
	public int getKEY() 
	{
		return key;
	}

	/**
	 * @return the arenaName
	 */
	public String getArenaName() {
		return arenaName;
	}

	/**
	 * @param arenaName the arenaName to set
	 */
	public void setArenaName(String arenaName) 
	{
		this.arenaName = arenaName;
	}

	/**
	 * @return the value
	 */
	public String getValue() {
		return value;
	}

	/**
	 * @param value the value to set
	 */
	public void setValue(String value) {
		this.value = value;
	}

	/**
	 * @return the key
	 */
	public int getKey() {
		return key;
	}

	/**
	 * @param key the key to set
	 */
	public void setKey(int key) {
		this.key = key;
	}

	/**
	 * @return the beServer
	 */
	public boolean isBeServer() {
		return beServer;
	}

	/**
	 * @param beServer the beServer to set
	 */
	public void setBeServer(boolean beServer) {
		this.beServer = beServer;
	}
}
